package org.jcut.data;

import org.springframework.stereotype.Component;

@Component
public class Data {
	private String status;
	private String msg;
	public void setMyData(int status,String msg,Object data) {
		if(status>0) {
			this.status="1";
		}else {
			this.status="0";
		}
		this.msg=msg;
		this.data=data;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	private Object data;
	
}
